package com.gxm.base.thowable.面试题;

import org.junit.Test;

public class try_catch_fin {

    @Test
    public void test01() {
        System.out.println(getNum());
    }

    public int getNum(){
        try {
            int a = 1 / 0;
            return 1;
        } catch (Exception e) {
            return 2;
        } finally {
            return 3;
        }
    }
}
